#include <iostream>
#include <string>
#include <algorithm>
#include <ctype.h>
using namespace std;
int main() {
    string s1("They are students.");
    string s2("aeiou");
    string::iterator it1 = s1.begin();
    string::iterator it2 = s2.begin();
    while (it2 != s2.end()) {
        it1 = s1.begin();
        while (it1 != s1.end()) {
            if (*it1 == *it2) {
                it1 = s1.erase(it1);
            }
            else {
                it1++;
            }

        }
        it2++;
    }
    cout << s1 << endl;


    return 0;
}